<!--
 * @Author: leo
 * @Date: 2023-10-26 16:39:05
 * @LastEditors: leo
 * @LastEditTime: 2024-09-29 16:04:54
 * @Description: 
-->
<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script setup>
import { computed, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import { useStore } from 'vuex'

const router = useRouter()
const store = useStore()

onMounted(() => {
  store.dispatch('globalData/getMenuData')
})
</script>

<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  width: 100%;
  height: 100vh;
}
</style>
